﻿using NPOI.HSSF.Record;
using System;
using System.Collections.Generic;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 出库单货品明细
    /// </summary>
    public partial class TShippingGoodsDetail
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 行项目
        /// </summary>
        public int? Iineitem { get; set; }

        /// <summary>
        /// 采购单行项目
        /// </summary>
        public string PurchaseIineitem { get; set; }

        /// <summary>
        /// 销售订单号
        /// </summary>
        public string MarketOrderSn { get; set; }

        /// <summary>
        /// 销售订单行项目
        /// </summary>
        public string MarketIineitem { get; set; }

        /// <summary>
        /// 发货数量
        /// </summary>
        public decimal? ShipmentsNum { get; set; }

        /// <summary>
        /// 货物条码
        /// </summary>
        public string Barcode { get; set; }
        /// <summary>
        /// 出货明细表Id
        /// </summary>
        public int? OrderDetailId { get; set; }
        /// <summary>
        /// 物料Id
        /// </summary>
        public int? MaterialId { get; set; }
        /// <summary>
        /// 物料Sn
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string ModelSpec { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public decimal? RetreatNum { get; set; }

        /// <summary>
        /// 需求数量
        /// </summary>
        public decimal? NeedNum { get; set; }

        /// <summary>
        /// 退货单位名称
        /// </summary>
        public string RetreatUnitName { get; set; }
        /// <summary>
        /// 退货单位编码
        /// </summary>
        public string RetreatUnitCode { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }

        /// <summary>
        /// 单位编码
        /// </summary>
        public string UnitCode { get; set; }

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime? DeliveryTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 预期箱条码
        /// </summary>
        public string PackageBarcode { get; set; }
        /// <summary>
        /// 预期栈板条码
        /// </summary>
        public string PalletBarcode { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        public bool IsOut { get; set; }
        public DateTime? ModifyDate { get; set; }
    }
}
